-- GENERATED SPELL FOR [Silicate Feeder] --


function spell0_15333(pUnit, Event) --@Cloud of Disease,Self--
pUnit:FullCastSpellOnTarget(17742,pUnit)
pUnit:RegisterEvent('Sorts_15333', 20000, 1)
end

function Sorts_15333(pUnit, Event)
local choix_sorts_15333 = math.random(0, 0)
if choix_sorts_15333 == 0 then
pUnit:RegisterEvent('spell0_15333', 1, 1)
end
end

function mob15333_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15333', math.random(1500, 3000), 1)
end

function mob15333_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15333_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15333_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15333, 1, 'mob15333_Action')
RegisterUnitEvent(15333, 2, 'mob15333_Leave')
RegisterUnitEvent(15333, 3, 'mob15333_Kill')
RegisterUnitEvent(15333, 4, 'mob15333_Die')
